<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>C++ Web Framework: /home/herik/CPPWebFramework/CPPWebFramework/cwf/cstlcompilerobject.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">C++ Web Framework
   &#160;<span id="projectnumber">3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b2448bd9c6b97c57da490a507d179d6c.html">CPPWebFramework</a></li><li class="navelem"><a class="el" href="dir_3bacee99d34edff13677baafd8c3a47f.html">cwf</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">cstlcompilerobject.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> Copyright 2017 Herik Lima de Castro and Marcelo Medeiros Eler</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> Distributed under MIT license, or public domain if desired and</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> recognized in your jurisdiction.</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> See file LICENSE for detail.</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef CSTLCOMPILEROBJECT_H</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#define CSTLCOMPILEROBJECT_H</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;QObject&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;cppwebframework_global.h&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;CWF_BEGIN_NAMESPACE</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_c_s_t_l_compiler_object.html">   18</a></span>&#160;<span class="keyword">class </span>CPPWEBFRAMEWORKSHARED_EXPORT <a class="code" href="class_c_s_t_l_compiler_object.html">CSTLCompilerObject</a> : <span class="keyword">public</span> QObject</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;{</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    Q_OBJECT</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    QString value;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    QString type;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="class_c_s_t_l_compiler_object.html#ac7b8215d6ffe0cf63f1b44b09a0ef95c">   29</a></span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_c_s_t_l_compiler_object.html#ac7b8215d6ffe0cf63f1b44b09a0ef95c">CSTLCompilerObject</a>(QObject *parent = <span class="keyword">nullptr</span>) : QObject(parent) {}</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">public</span> slots:</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_c_s_t_l_compiler_object.html#ae09aa0cd4fe3da1d07cec05f734d2fab">   35</a></span>&#160;    <span class="keyword">inline</span> QString <a class="code" href="class_c_s_t_l_compiler_object.html#ae09aa0cd4fe3da1d07cec05f734d2fab">getValue</a>() const noexcept { <span class="keywordflow">return</span> value; }</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_c_s_t_l_compiler_object.html#ad16e7e9c49e97375c6af683f94c550d2">   40</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_c_s_t_l_compiler_object.html#ad16e7e9c49e97375c6af683f94c550d2">setValue</a>(<span class="keyword">const</span> QString &amp;value) noexcept { this-&gt;value = value; }</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_c_s_t_l_compiler_object.html#a99e470396326c2895ffc63a5bc233add">   45</a></span>&#160;    <span class="keyword">inline</span> QString <a class="code" href="class_c_s_t_l_compiler_object.html#a99e470396326c2895ffc63a5bc233add">getType</a>() const noexcept { <span class="keywordflow">return</span> type; }</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_c_s_t_l_compiler_object.html#aa085b545107f3a4a6a06e73353e30b5b">   50</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_c_s_t_l_compiler_object.html#aa085b545107f3a4a6a06e73353e30b5b">setType</a>(<span class="keyword">const</span> QString &amp;value) noexcept { type = value; }</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;};</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;CWF_END_NAMESPACE</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#endif // CSTLCOMPILEROBJECT_H</span></div><div class="ttc" id="class_c_s_t_l_compiler_object_html_aa085b545107f3a4a6a06e73353e30b5b"><div class="ttname"><a href="class_c_s_t_l_compiler_object.html#aa085b545107f3a4a6a06e73353e30b5b">CSTLCompilerObject::setType</a></div><div class="ttdeci">void setType(const QString &amp;value) noexcept</div><div class="ttdoc">Sets the type. </div><div class="ttdef"><b>Definition:</b> cstlcompilerobject.h:50</div></div>
<div class="ttc" id="class_c_s_t_l_compiler_object_html_a99e470396326c2895ffc63a5bc233add"><div class="ttname"><a href="class_c_s_t_l_compiler_object.html#a99e470396326c2895ffc63a5bc233add">CSTLCompilerObject::getType</a></div><div class="ttdeci">QString getType() const noexcept</div><div class="ttdoc">Returns the type. </div><div class="ttdef"><b>Definition:</b> cstlcompilerobject.h:45</div></div>
<div class="ttc" id="class_c_s_t_l_compiler_object_html_ac7b8215d6ffe0cf63f1b44b09a0ef95c"><div class="ttname"><a href="class_c_s_t_l_compiler_object.html#ac7b8215d6ffe0cf63f1b44b09a0ef95c">CSTLCompilerObject::CSTLCompilerObject</a></div><div class="ttdeci">CSTLCompilerObject(QObject *parent=nullptr)</div><div class="ttdoc">This constructor can set the CSTLCompilerObject&amp;#39;s parent. </div><div class="ttdef"><b>Definition:</b> cstlcompilerobject.h:29</div></div>
<div class="ttc" id="class_c_s_t_l_compiler_object_html_ae09aa0cd4fe3da1d07cec05f734d2fab"><div class="ttname"><a href="class_c_s_t_l_compiler_object.html#ae09aa0cd4fe3da1d07cec05f734d2fab">CSTLCompilerObject::getValue</a></div><div class="ttdeci">QString getValue() const noexcept</div><div class="ttdoc">Returns the value. </div><div class="ttdef"><b>Definition:</b> cstlcompilerobject.h:35</div></div>
<div class="ttc" id="class_c_s_t_l_compiler_object_html"><div class="ttname"><a href="class_c_s_t_l_compiler_object.html">CSTLCompilerObject</a></div><div class="ttdoc">The Properties class is an auxiliar class to the CSTLCompiler. </div><div class="ttdef"><b>Definition:</b> cstlcompilerobject.h:18</div></div>
<div class="ttc" id="class_c_s_t_l_compiler_object_html_ad16e7e9c49e97375c6af683f94c550d2"><div class="ttname"><a href="class_c_s_t_l_compiler_object.html#ad16e7e9c49e97375c6af683f94c550d2">CSTLCompilerObject::setValue</a></div><div class="ttdeci">void setValue(const QString &amp;value) noexcept</div><div class="ttdoc">Sets the value. </div><div class="ttdef"><b>Definition:</b> cstlcompilerobject.h:40</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon May 28 2018 11:09:08 for C++ Web Framework by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
